<script>
	import {getToken} from '@/utils/index.js';
	import store from '@/store/index.js';
	import Logging from "@/common/js/logging.js";
	
	export default {
		globalData: {
			userinfo: false,
		},
		onLaunch: function() {
			store.dispatch('getUserInfo')
			Logging.remove();
			// console.log('App Launch')
		},
		onShow: function() {
			// console.log('App Show')
		},
		onHide: function() {
			// console.log('App Hide')
		}
	};
</script>

<style lang="scss">
/* 去掉默认边框 */
button::after {
	border: 0 none;
}

/** 去掉默认圆角 */
button {
	height: inherit;
	line-height: inherit;
	border-radius: 0;
	padding: 0;
	margin: 0;
	background-color: transparent;
}

.button-hover {
	color: inherit;
	background-color: inherit;
}

.ellipsis {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.block {
	display: block;
}

</style>
